import { createPinia } from 'pinia'

const store = createPinia()

store.use(({ store }) => {
  store.hello = 'world'
  // make sure your bundler handle this. webpack and vite should do it by default
  if (process.env.NODE_ENV === 'development') {
    // add any keys you set on the store
    // store._customProperties.add('hello')
  }
})

export default store
